package com.tensquare.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {

    private boolean flag;//是否成功
    private String message;//返回学信息
    private Integer code;//返回码
    private Object data;

    public Result(boolean flag, String message, Integer code) {
        this.flag = flag;
        this.message = message;
        this.code = code;
    }

}
